//
//  DIYCarDetailButton.m
//  UcarTest
//
//  Created by 陈曦 on 16/1/25.
//  Copyright © 2016年 chenxi. All rights reserved.
//

#import "DIYCarDetailButton.h"
#import "Define.h"




@implementation DIYCarDetailButton


- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        UIImageView *carImageView = [[UIImageView alloc] initWithFrame:CGRectMake(10, 10, 21, 15)];
        carImageView.image = [UIImage imageNamed:@"iconfont-car"];
        [self addSubview:carImageView];
        
        UILabel *carInformation = [[UILabel alloc] initWithFrame:CGRectMake(41, 0, 60, 35)];
        carInformation.textAlignment = NSTextAlignmentLeft;
        carInformation.text = @"车辆信息";
        carInformation.textColor = [UIColor colorWithRed:51 / 255.0 green:51 / 255.0 blue:51 / 255.0 alpha:1];
        carInformation.font = [UIFont systemFontOfSize:14];
        [self addSubview:carInformation];
        
        UIImageView *arrowMarkImageView = [[UIImageView alloc] initWithFrame:CGRectMake(kScreenWidth - 28, 10, 8, 15)];
        arrowMarkImageView.image = [UIImage imageNamed:@"iconfont-fanhui-gary"];
        [self addSubview:arrowMarkImageView];
        
        
        
    }
    return self;
}



@end
